mrfioc2  2.3.0
Public Member Functions | List of all members
mrf::detail::propertyInstance< C, P[1]> Class Template Reference

final array implementation More...

#include <object.h>

Inheritance diagram for mrf::detail::propertyInstance< C, P[1]>:
Inheritance graph
[legend]
Collaboration diagram for mrf::detail::propertyInstance< C, P[1]>:
Collaboration graph
[legend]

Public Member Functions

 propertyInstance (C *c, const unboundProperty< C, P[1]> &p)
 
virtual ~propertyInstance ()
 
virtual const char * name () const
 
virtual const std::type_info & type () const
 
virtual void set (const P *a, epicsUInt32 l)
 
virtual epicsUInt32 get (P *a, epicsUInt32 l) const
 
- Public Member Functions inherited from mrf::property< P[1]>
virtual ~property ()
 
- Public Member Functions inherited from mrf::propertyBase
virtual ~propertyBase ()=0
 
virtual void show (std::ostream &) const
 Print the value of the field w/o leading or trailing whitespace. More...
 

Detailed Description

template<class C, typename P>
class mrf::detail::propertyInstance< C, P[1]>

final array implementation

Definition at line 316 of file object.h.

Constructor & Destructor Documentation

◆ propertyInstance()

template<class C , typename P >
mrf::detail::propertyInstance< C, P[1]>::propertyInstance ( C *  c,
const unboundProperty< C, P[1]> &  p 
)
inline

Definition at line 322 of file object.h.

323  :inst(c)
324  ,prop(p)
325  {}

◆ ~propertyInstance()

template<class C , typename P >
virtual mrf::detail::propertyInstance< C, P[1]>::~propertyInstance ( )
inlinevirtual

Definition at line 326 of file object.h.

326 {}

Member Function Documentation

◆ get()

template<class C , typename P >
virtual epicsUInt32 mrf::detail::propertyInstance< C, P[1]>::get ( P *  a,
epicsUInt32  l 
) const
inlinevirtual

Implements mrf::property< P[1]>.

Definition at line 332 of file object.h.

333  { return (inst->*(prop.getter))(a,l); }

◆ name()

template<class C , typename P >
virtual const char* mrf::detail::propertyInstance< C, P[1]>::name ( ) const
inlinevirtual

Implements mrf::propertyBase.

Definition at line 328 of file object.h.

328 {return prop.name;}

◆ set()

template<class C , typename P >
virtual void mrf::detail::propertyInstance< C, P[1]>::set ( const P *  a,
epicsUInt32  l 
)
inlinevirtual

Implements mrf::property< P[1]>.

Definition at line 330 of file object.h.

331  { (inst->*(prop.setter))(a,l); }

◆ type()

template<class C , typename P >
virtual const std::type_info& mrf::detail::propertyInstance< C, P[1]>::type ( ) const
inlinevirtual

Implements mrf::propertyBase.

Definition at line 329 of file object.h.

329 {return prop.type();}
virtual const std::type_info & type() const
Definition: object.h:235

The documentation for this class was generated from the following file: